package cn.tedu.icop.api.service;

import cn.tedu.icop.api.domain.OperationLog;
import cn.tedu.icop.api.model.RestResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(name="imop-basic", contextId = "logRemoteService")
public interface LogRemoteService {
     //写方法调用写日志的接口
     @PostMapping("/v1/operation/log")
     public RestResult<Void> createOperationLog(@RequestBody OperationLog operationLog);

}
